﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblSTUDENT_RESERVEService
	{
		private static readonly tblSTUDENT_RESERVEDAL db = new tblSTUDENT_RESERVEDAL();
		#region[tblSTUDENT_RESERVE_GetById]
		public static DataTable tblSTUDENT_RESERVE_GetById(string Id)
		{
			return db.tblSTUDENT_RESERVE_GetById(Id);
		}
		#endregion
		#region[tblSTUDENT_RESERVE_GetByAll]
		public static DataTable tblSTUDENT_RESERVE_GetByAll()
		{
			return db.tblSTUDENT_RESERVE_GetByAll();
		}
		#endregion
		#region[tblSTUDENT_RESERVE_GetByTop]
		public static DataTable tblSTUDENT_RESERVE_GetByTop(string Top, string Where, string Order)
		{
			return db.tblSTUDENT_RESERVE_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblSTUDENT_RESERVE_Insert]
		public static void tblSTUDENT_RESERVE_Insert(tblSTUDENT_RESERVEInfo Data)
		{
			 db.tblSTUDENT_RESERVE_Insert(Data);
		}
		#endregion
		#region[tblSTUDENT_RESERVE_Update]
		public static void tblSTUDENT_RESERVE_Update(tblSTUDENT_RESERVEInfo Data)
		{
			 db.tblSTUDENT_RESERVE_Update(Data);
		}
		#endregion
		#region[tblSTUDENT_RESERVE_Delete]
		public static void tblSTUDENT_RESERVE_Delete(string Id)
		{
			 db.tblSTUDENT_RESERVE_Delete(Id);
		}
		#endregion
		#region[tblSTUDENT_RESERVE_GetBySTUDENT_ID]
		public static DataTable tblSTUDENT_RESERVE_GetBySTUDENT_ID(string STUDENT_ID)
		{
			 return db.tblSTUDENT_RESERVE_GetBySTUDENT_ID(STUDENT_ID);
		}
		#endregion
	}
}